import request from '@/utils/request'

export function roomAlarmList(data) {
  return request({
    url: '/roomalarmlist',
    method: 'post',
    params: data
  })
}

export function roomAlarmDetail(data) {

  return request({
    url: '/roomalarmdetail',
    method: 'post',
    params: data
  })
}

export function updateRoomAlarm(data) {
  return request({
    url: '/roomalarmupdate',
    method: 'post',
    data
  })
}

export function deleteRoomAlarm(data) {
  return request({
    url: '/roomalarmdelete',
    method: 'post',
    data
  })
}
